<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8" />
  <title>04_插值与指令</title>
  <script src="../js/vue.js"></script>
</head>
<div id="root">
  <h1>{{school}}</h1>
  <a v-bind:href="url">百度链接</a>
</div>
<script>
  new Vue({
    el: '#root',
    data: {
      school: '尚硅谷',
      url: 'http:www.baidu.com'
    }
  })
</script>

<body>

</body>

</html>